package org.nfIt.service.impl;

import org.nfIt.dao.UserDao;
import org.nfIt.domain.Zh;
import org.nfIt.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * ClossName:UserServiceImpl
 * Pakage:org.nfIt.service.impl
 * Description
 *
 * @Author L
 * @Create 2024/5/4 22:19
 * @Version 2023.1.3
 */
@Service
public class UserServiceImpl implements UserService {


    private UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }

    @Override
    public List<Zh> selectAllUsers() {
        return userDao.selectAllUser();
    }
}
